// app.js
// 导入
import "./utils/utils"
// 导入http.js
import "./utils/http"
App({
  globalData: {},
  onLaunch() {
    this.getStrage()
  },
  getStrage() {
    this.token = wx.getStorageSync('token')
  },
  setToken(key, token) {
    this[key] = token
    wx.setStorageSync(key, token)
  }
})